// #[cfg(feature = "mysql")]
pub(crate) mod mysql;
// #[cfg(feature = "postgres")]
pub(crate) mod postgres;

// #[cfg(feature = "mysql")]
// mod mysql;
// #[cfg(feature = "postgres")]
// mod postgres;

pub mod schema;

use super::context::Context;

#[cfg(feature = "postgres")]
pub fn new(default_sechma: String) -> impl schema::Schema {
    postgres::schema::PgSchema::new(Context::new(default_sechma))
}

// #[cfg(not(feature = "postgres"))]
